import { http, download } from '../../apis/request'
// this.prototype.$http = http;
const request = http
let hotSearch = {
    //获取热搜列表
    getHotSearch(state, content, pageNumber, pageSize){
      return request("/other/getHotSearch", {state, content, pageNumber, pageSize})
    },
    //  增加热搜
    insertHotSearch(data) {
        return request("/other/insertHotSearch", data)
    },
    //  修改热搜状态
    updateHotSearchState(data) {
        return request("/other/updateHotSearchState", data)
    },
    //  修改增加热搜
    updateHotSearch(data) {
        return request("/other/updateHotSearchState", data)
    },
    //  修改增加热搜
    ShowHotSearch(data) {
        return request("/other/ShowHotSearch", data)
    },
}
export default hotSearch
